Newly revealed documents in a lawsuit against WhatsApp indicate that the spyware software Pegasus, developed by NSO Group, was used to infiltrate "tens of thousands" of devices.